﻿using System;

namespace WMSSyncData.Model
{
    /// <summary>
    /// 工单报工实际数据表
    /// </summary>
    [Table(TableName = "ttddev105101")]
    public class tddev105
    {
        /// <summary>
        /// 生产订单号
        /// </summary>
        public string pdno { get; set; }
        /// <summary>
        /// 报工工序号
        /// </summary>
        public int opno { get; set; }
        /// <summary>
        /// 顺序号
        /// </summary>
        public int pdsn { get; set; }
        /// <summary>
        /// 物料代码
        /// </summary>
        public string item { get; set; }
        /// <summary>
        /// 报工合格数量
        /// </summary>
        public decimal qrdr { get; set; }
        /// <summary>
        /// 报工废品数量
        /// </summary>
        public decimal qrdr1 { get; set; }
        /// <summary>
        /// 中间表状态
        /// </summary>
        public string host { get; set; }
        /// <summary>
        /// ERP处理信息
        /// </summary>
        public string mess { get; set; }
        /// <summary>
        /// WMS写入日期
        /// </summary>
        public DateTime? edte1 { get; set; }
        /// <summary>
        /// ERP读取日期
        /// </summary>
        public DateTime? wdte1 { get; set; }

        public int REFCNTD { get; set; }

        public int REFCNTU { get; set; }
    }
}
